<template>
  <div v-if="busType && busName" style="padding-top: 20px">
    <proProcess
      ref="process"
      :bus-id="this.$route.query.id"
      :bus-type="busType"
      :bus-name="busName"
    />
  </div>
</template>

<script>
import ProProcess from '../proProcess'
export default {
  name: 'Index',
  components: {
    ProProcess
  },
  data() {
    return {
      busType: '',
      busName: ''
    }
  },
  mounted() {
    this.$bus.$emit('async_done')
  },
  methods: {
    init(data) {
      this.busName = data.busName
      this.busType = data.busType
    }
  }
}
</script>

<style scoped>

</style>
